
package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.PlaneState;

public interface PlaneStateDao extends Dao {

    /**
     * Retrieves all of the planeStates
     */
    public List getPlaneStates(PlaneState planeState);

    /**
     * Gets planeState's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the planeState's id
     * @return planeState populated planeState object
     */
    public PlaneState getPlaneState(final Integer id);

    /**
     * Saves a planeState's information
     * @param planeState the object to be saved
     */    
    public void savePlaneState(PlaneState planeState);

    /**
     * Removes a planeState from the database by id
     * @param id the planeState's id
     */
    public void removePlaneState(final Integer id);
}

